package com.itheima.reggie.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.reggie.domain.Dish;
import org.springframework.stereotype.Repository;

@Repository
public interface DishMapper extends BaseMapper<Dish> {
    //从菜品表中根据分类id统计菜品数量
    Integer countDishByCategoryId(Long categoryId);
}
